package com.jbinfo.qingcaowan.user.domain;

import java.util.Date;

public class UserManual {
    private String id;

    private String orgId;

    private Date creatTime;

    private String creatUser;

    private Date modfiyTime;

    private String modfiyUser;

    private String manualContent;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public String getCreatUser() {
        return creatUser;
    }

    public void setCreatUser(String creatUser) {
        this.creatUser = creatUser == null ? null : creatUser.trim();
    }

    public Date getModfiyTime() {
        return modfiyTime;
    }

    public void setModfiyTime(Date modfiyTime) {
        this.modfiyTime = modfiyTime;
    }

    public String getModfiyUser() {
        return modfiyUser;
    }

    public void setModfiyUser(String modfiyUser) {
        this.modfiyUser = modfiyUser == null ? null : modfiyUser.trim();
    }

    public String getManualContent() {
        return manualContent;
    }

    public void setManualContent(String manualContent) {
        this.manualContent = manualContent == null ? null : manualContent.trim();
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        UserManual other = (UserManual) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrgId() == null ? other.getOrgId() == null : this.getOrgId().equals(other.getOrgId()))
            && (this.getCreatTime() == null ? other.getCreatTime() == null : this.getCreatTime().equals(other.getCreatTime()))
            && (this.getCreatUser() == null ? other.getCreatUser() == null : this.getCreatUser().equals(other.getCreatUser()))
            && (this.getModfiyTime() == null ? other.getModfiyTime() == null : this.getModfiyTime().equals(other.getModfiyTime()))
            && (this.getModfiyUser() == null ? other.getModfiyUser() == null : this.getModfiyUser().equals(other.getModfiyUser()))
            && (this.getManualContent() == null ? other.getManualContent() == null : this.getManualContent().equals(other.getManualContent()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrgId() == null) ? 0 : getOrgId().hashCode());
        result = prime * result + ((getCreatTime() == null) ? 0 : getCreatTime().hashCode());
        result = prime * result + ((getCreatUser() == null) ? 0 : getCreatUser().hashCode());
        result = prime * result + ((getModfiyTime() == null) ? 0 : getModfiyTime().hashCode());
        result = prime * result + ((getModfiyUser() == null) ? 0 : getModfiyUser().hashCode());
        result = prime * result + ((getManualContent() == null) ? 0 : getManualContent().hashCode());
        return result;
    }
}